runtime.gcWork.heapScanWork (field)
25 uses
runtime (current package)
mgcmark.go#L1261: initScanWork := gcw.heapScanWork
mgcmark.go#L1359: if gcw.heapScanWork >= gcCreditSlack {
mgcmark.go#L1360: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1362: gcFlushBgCredit(gcw.heapScanWork - initScanWork)
mgcmark.go#L1365: checkWork -= gcw.heapScanWork
mgcmark.go#L1366: gcw.heapScanWork = 0
mgcmark.go#L1379: if gcw.heapScanWork > 0 {
mgcmark.go#L1380: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1382: gcFlushBgCredit(gcw.heapScanWork - initScanWork)
mgcmark.go#L1384: gcw.heapScanWork = 0
mgcmark.go#L1408: workFlushed := -gcw.heapScanWork
mgcmark.go#L1413: for !gp.preempt && !gcCPULimiter.limiting() && workFlushed+gcw.heapScanWork < scanWork {
mgcmark.go#L1457: if gcw.heapScanWork >= gcCreditSlack {
mgcmark.go#L1458: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1459: workFlushed += gcw.heapScanWork
mgcmark.go#L1460: gcw.heapScanWork = 0
mgcmark.go#L1476: return workFlushed + gcw.heapScanWork
mgcmark_greenteagc.go#L913: gcw.heapScanWork += int64(objsMarked) * int64(elemsize)
mgcmark_greenteagc.go#L984: gcw.heapScanWork += int64(sys.Len64(uint64(ptrBits)) * goarch.PtrSize)
mgcmark_greenteagc.go#L1030: gcw.heapScanWork += int64(sys.Len64(uint64(ptrBits)) * goarch.PtrSize)
mgcmark_greenteagc.go#L1276: gcw.heapScanWork += int64(scanSize)
mgcwork.go#L121: heapScanWork int64
mgcwork.go#L346: if w.heapScanWork != 0 {
mgcwork.go#L347: gcController.heapScanWork.Add(w.heapScanWork)
mgcwork.go#L348: w.heapScanWork = 0
![]() |
The pages are generated with Golds v0.8.5. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |